No need to call show-popup for minibuffer
authorjustbur <justin@burkett.cc>
Wed, 22 Jul 2015 12:58:45 +0000 (08:58 -0400)
committerjustbur <justin@burkett.cc>
Wed, 22 Jul 2015 12:58:45 +0000 (08:58 -0400)
which-key.el

index ac2eaa62b45cabb1b9b8c3c5ceacd5672b36378e..0964defe89ec85a005292c1393aa4b11408f6ad4 100644 (file)
@@ -969,8 +969,8 @@ enough space based on your settings and frame size." prefix-keys)
           (with-current-buffer which-key--buffer
             (erase-buffer)
             (insert page)
-            (goto-char (point-min))))
-        (which-key--show-popup (cons height width))))))
+            (goto-char (point-min)))
+          (which-key--show-popup (cons height width)))))))
 
 (defun which-key-show-next-page ()
   "Show the next page of keys."